<?php

namespace app\admin\model;

use think\Model;

class System extends Model
{
    protected $table = "configs";

    public function photo()
    {
        return $this->belongsTo('Photo');
    }

    // 定义时间戳字段名
    protected $createTime = 'created_at';
    protected $updateTime = 'updated_at';
}
